package tweeks.category.persistence;

import java.util.List;

import org.springframework.stereotype.Repository;

import tweeks.category.domain.Category;


@Repository("CategoryMapper")
public interface CategoryMapper {
	List<Category> selectCategory(Category category);
	Category selectCategoryByPk(Category category);
	void createCategory(Category category);
	void deleteCategory(Category category);
	void modifyCategory(Category category);
	void upwardRelocate(Category category);
	void downwardRelocate(Category category);
	List<Category> selectSubCategory(Category category);
	List<Category> selectSiblingCategory(Category category);
	void pushUp(Category category);
}